package com.rrd.dw.mr.text.model;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlElements;

@XmlAccessorType(XmlAccessType.FIELD)
public class TongDun extends BaseObject {
    private String applyId;
    private String isTDQuery;
    private String isTDsuccess;
    private String secretKey;
    private String policyUuid;
    private String policySetName;
    private String policyName;
    private String policyScore;
    private String finalScore;

    @XmlElementWrapper(name = "hitRules")
    @XmlElements(
            value = { @XmlElement(name = "hitRule", type = HitRule.class) })
    private List<HitRule> hitRules;
    private String creditRisk_decision;
    private String creditRiskScore;
    private String agency_decision;
    private String AgencyScore;
    private String suspiciousLoan_decision;
    private String suspiciousLoanScore;
    @XmlElement(name = "hitRuleDetails")
    private HitRuleDetails hitRuleDetails;

    public String getApplyId() {
        return applyId;
    }

    public void setApplyId(String applyId) {
        this.applyId = applyId;
    }

    public String getIsTDQuery() {
        return isTDQuery;
    }

    public void setIsTDQuery(String isTDQuery) {
        this.isTDQuery = isTDQuery;
    }

    public String getIsTDsuccess() {
        return isTDsuccess;
    }

    public void setIsTDsuccess(String isTDsuccess) {
        this.isTDsuccess = isTDsuccess;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }

    public String getPolicyUuid() {
        return policyUuid;
    }

    public void setPolicyUuid(String policyUuid) {
        this.policyUuid = policyUuid;
    }

    public String getPolicySetName() {
        return policySetName;
    }

    public void setPolicySetName(String policySetName) {
        this.policySetName = policySetName;
    }

    public String getPolicyName() {
        return policyName;
    }

    public void setPolicyName(String policyName) {
        this.policyName = policyName;
    }

    public String getPolicyScore() {
        return policyScore;
    }

    public void setPolicyScore(String policyScore) {
        this.policyScore = policyScore;
    }

    public String getFinalScore() {
        return finalScore;
    }

    public void setFinalScore(String finalScore) {
        this.finalScore = finalScore;
    }

    public List<HitRule> getHitRules() {
        if (hitRules == null)
            return new ArrayList<>();
        return hitRules;
    }

    public void setHitRules(List<HitRule> hitRules) {
        this.hitRules = hitRules;
    }

    public String getCreditRisk_decision() {
        return creditRisk_decision;
    }

    public void setCreditRisk_decision(String creditRisk_decision) {
        this.creditRisk_decision = creditRisk_decision;
    }

    public String getCreditRiskScore() {
        return creditRiskScore;
    }

    public void setCreditRiskScore(String creditRiskScore) {
        this.creditRiskScore = creditRiskScore;
    }

    public String getAgency_decision() {
        return agency_decision;
    }

    public void setAgency_decision(String agency_decision) {
        this.agency_decision = agency_decision;
    }

    public String getAgencyScore() {
        return AgencyScore;
    }

    public void setAgencyScore(String agencyScore) {
        AgencyScore = agencyScore;
    }

    public String getSuspiciousLoan_decision() {
        return suspiciousLoan_decision;
    }

    public void setSuspiciousLoan_decision(String suspiciousLoan_decision) {
        this.suspiciousLoan_decision = suspiciousLoan_decision;
    }

    public String getSuspiciousLoanScore() {
        return suspiciousLoanScore;
    }

    public void setSuspiciousLoanScore(String suspiciousLoanScore) {
        this.suspiciousLoanScore = suspiciousLoanScore;
    }

    public HitRuleDetails getHitRuleDetails() {
        return hitRuleDetails;
    }

    public void setHitRuleDetails(HitRuleDetails hitRuleDetails) {
        this.hitRuleDetails = hitRuleDetails;
    }
}
